.chat-container {
  flex: 1;
  overflow: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.chat-container::-webkit-scrollbar {
  display: none;
}

.chat-page {
  display: flex;
  flex-flow: row nowrap;
  background-color: #f3f6fb;
  min-height: 100vh;
  /* 新增对话 */
}

.chat-page .nav {
  width: 320px;
  padding: 16px;
  height: 100vh;
  box-sizing: border-box;
}

.chat-page .nav-inner {
  width: 100%;
  background-color: #fff;
  min-height: 100%;
  border-radius: 34px;
  display: flex;
  flex-flow: column nowrap;
  max-height: calc(100vh - 32px);
  position: relative;
}

.chat-page .logo {
  width: 203px;
  height: 50px;
  margin: 16px;
}

.chat-page .content {
  flex: 1;
  position: relative;
  height: 100vh;
  box-sizing: border-box;
}

.chat-page .content-inner {
  max-width: 800px;
  margin: 0 auto;
  height: 100vh;
  overflow-y: auto;
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* 自定义滚动条样式 */
.chat-page .content-inner::-webkit-scrollbar {
  width: 4px;
}

.chat-page .content-inner::-webkit-scrollbar-track {
  background: transparent;
}

.chat-page .content-inner::-webkit-scrollbar-thumb {
  background: #d1d4d9;
  border-radius: 2px;
}

.chat-page .new-chat {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  margin-top: 10px;
}

.chat-page .new-chat>button:first-child {
  width: 186px;
  height: 41px;
  background: #5662f6;
  border: none;
  border-radius: 20.5px;
  color: #fff;
  margin-right: 10px;
  cursor: pointer;
  font-size: 16px;
}

.chat-page .new-chat>button:first-child:hover {
  filter: brightness(0.9);
}

.chat-page .new-chat>button:last-child {
  width: 41px;
  height: 41px;
  background: #000000;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.chat-page .new-chat>button:last-child:hover .search-icon {
  width: 18px;
  height: 18px;
}

.chat-page .search-icon {
  width: 15px;
  height: 15px;
}


.input-area {
  position: relative;
  padding: 20px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
}

.model-selector {
  margin-bottom: 12px;
  text-align: center;
}

.model-selector .ant-radio-group {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.welcome-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 40px 20px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.welcome-content .ai-avatar {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-content .ai-avatar img {
  width: 300px;
  height: auto;
  transition: transform 0.3s ease;
}

.welcome-content .ai-avatar:hover img {
  transform: translateY(-3px);
}

.welcome-content .welcome-message h2 {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #5662f6;
}

.welcome-content .welcome-message h2 {
  font-size: 42px;
  margin-bottom: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #5662f6, #7b86ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  position: relative;
}

.welcome-content .welcome-message h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #5662f6, #7b86ff);
  border-radius: 2px;
}

.welcome-content .welcome-message p {
  font-size: 18px;
  color: #666;
  margin-bottom: 48px;
  line-height: 1.6;
}

.welcome-content .welcome-message ul {
  list-style: none;
  padding: 0;
  text-align: left;
  width: 100%;
  max-width: 480px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.welcome-content .welcome-message li {
  font-size: 16px;
  color: #555;
  display: flex;
  align-items: center;
  padding: 20px;
  background: #f8f9fd;
  border-radius: 16px;
  transition: all 0.3s ease;
  height: 100%;
}

.welcome-content .welcome-message li:hover {
  transform: translateY(-5px);
  background: #f0f2ff;
  box-shadow: 0 8px 24px rgba(86, 98, 246, 0.12);
}